package com.service.impl;

import com.dao.InstitutyDao;
import com.dao.impl.InstitutyDaoImpl;
import com.entry.Instituty;
import com.service.InstitutyService;

import java.util.ArrayList;

public class InstitutyServiceImpl implements InstitutyService {
    InstitutyDao institutyDao=new InstitutyDaoImpl();
    @Override
    public Instituty selectByInstituty_id(int Instituty_id) {
        return institutyDao.selectByInstituty_id(Instituty_id);
    }

    @Override
    public ArrayList<Instituty> selectQuery(Instituty instituty) {
            return institutyDao.selectQuery(instituty);

        }
    }
